const Router=require('koa-router');

let home=require('./home');
let news=require('./news');
let about=require('./about');

let router=new Router();
router.use('/',home.routes(),home.allowedMethods());
router.use('/news',news.routes(),news.allowedMethods());
router.use('/about',about.routes(),about.allowedMethods());

module.exports=router;